import type { XtxGuessInstance } from '@/types/component';
import { ref } from 'vue';

export const useGuessList = () => {
  // 获取猜你喜欢组件实例
  const guessRef = ref<XtxGuessInstance>();

  // 滚动触底
  const onScrolltolower = () => {
    guessRef.value?.getMore();
  };
  return {
    guessRef,
    onScrolltolower,
  };
};
